SET STSADM="%commonprogramfiles%\microsoft shared\web server extensions\12\bin\stsadm"
SET SOLUTIONFILE="WordToSharePoint.wsp"

%STSADM% -o upgradesolution -name %SOLUTIONFILE% -filename %SOLUTIONFILE% -immediate -allowgacdeployment -allowcaspolicies
%STSADM% -o execadmsvcjobs